<ion-header-bar class="bar-top text-center">
    <div class="buttons">
        <nav-button class="back" ng-click="back()"></nav-button>
    </div>
    <h1 class="title">养生之道</h1>
</ion-header-bar>
<ion-view>
    <ion-content class="classRoom classRoom-list">
        <ion-refresher
            pulling-text="下拉刷新"
            on-refresh="vm.doRefresh()"></ion-refresher>
        <ion-list class="classRooms">
            <ion-item ng-click="open(downloadImg(d.detailUrl))" ng-repeat="d in vm.health">
                <div class="row">
                    <div class="col col-25 avatar">
                        <img ng-src="{{downloadImg(d.imgUrl)}}" alt=""></div>
                    <div class="col col-75 info">
                        <p class="title2">{{d.articleName}}</p>
                        <p class="t2">{{d.remark}}</p>
                    </div>
                </div>
            </ion-item>
            <!-- <ion-item>
            <div class="row">
                <div class="col col-25 avatar">
                    <img src="img/temp1.jpg" alt=""></div>
                <div class="col col-75 info">
                    <p class="title2">小儿湿疹到底要不要用激素</p>
                    <p class="t2">每天上下班甚至和妹子溜大街的时</p>
                </div>
            </div>
        </ion-item>
        <ion-item>
            <div class="row">
                <div class="col col-25 avatar">
                    <img src="img/temp1.jpg" alt=""></div>
                <div class="col col-75 info">
                    <p class="title2">小儿湿疹到底要不要用激素</p>
                    <p class="t2">每天上下班甚至和妹子溜大街的时</p>
                </div>
            </div>
        </ion-item>
        -->
    </ion-list>
    <ion-infinite-scroll
        ng-if="!vm.nodata"
            on-infinite="vm.loadMore()"
            distance="1%"></ion-infinite-scroll>
</ion-content>
</ion-view>